const {
  TARO_APP_COLOR,
  TARO_APP_NAME,
} = process.env;

// noinspection TypeScriptValidateTypes
export default defineAppConfig({
  pages: [
    'pages/index/index1',
    'pages/index/index2',
    'pages/index/index3',
    'pages/index/index4',
  ],
  window: {
    navigationBarBackgroundColor: TARO_APP_COLOR,
    navigationBarTextStyle: 'white',
    navigationBarTitleText: TARO_APP_NAME,
    backgroundColor: '#f7f8fa',
    backgroundTextStyle: 'dark',
    backgroundColorTop: '#f7f8fa',
    backgroundColorBottom: '#f7f8fa',
  },
  tabBar: {
    custom: !0,
    color: '#2c68ff',
    selectedColor: '#2c68ff',
    backgroundColor: '#2c68ff',
    list: [{
      pagePath: 'pages/index/index1',
      text: '首页',
    }, {
      pagePath: 'pages/index/index2',
      text: '资源',
    }, {
      pagePath: 'pages/index/index3',
      text: '任务',
    }, {
      pagePath: 'pages/index/index4',
      text: '我的',
    }],
  },
});
